package com.jy.rhin.model.body.xinshenger;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class JianKangWT {

    //出生孕周
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE02.10.006.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/@value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_006_00))
    String yunZhou;


    //助产机构名称
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE08.10.013.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE08_10_013_00))
    String zhuCanJGMC;

    //母亲妊娠合并症
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE02.10.055.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_055_00))
    String muQingRCHBZ;

    //末次分娩方式代码
    @XPath(path = "/entry/observation/code[@code='DE02.10.011.00'][@codeSystem='2.16.156.10011.2.2.1']/../value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_011_00))
    CodeObject moCiFMFS;

    //新生儿窒息标志
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE02.10.086.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/@value" , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_086_00))
    String xinShengEZXBZ;

    //Apgar评分值
    @XPath(model = "code", codePath = "/entry/observation/code[@code='DE05.10.001.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/@value" , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE05_10_001_00))
    String apgarPingFZ;

    //喂养方式类别代码
    @XPath(path= "/entry/observation/code[@code='DE06.00.116.00'][@codeSystem='2.16.156.10011.2.2.1']/../value" , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_116_00))
    CodeObject weiYangFSLB;

    //每天吃奶次数
    @XPath(model = "code", codePath = "/entry/observation/entryRelationship/observation/code[@code='DE04.01.042.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/@value" , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_01_042_00))
    String meiTianCNCS;

    //每天吃奶量
    @XPath(model = "code", codePath = "/entry/observation/entryRelationship/observation/code[@code='DE04.01.043.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/@value" , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_01_043_00))
    String meiTianCNL;

    //呕吐标志
    @XPath(model = "code", codePath = "/entry/observation/entryRelationship/observation/code[@code='DE04.01.048.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/@value" , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_01_048_00))
    String ouTuBZ;

    //新生儿大便性状代码
    @XPath(path = "/entry/observation/code[@code='DE04.01.013.00'][@codeSystem='2.16.156.10011.2.2.1']/../value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_01_013_00))
    CodeObject xinShengEDBXZ;

    //大便次数
    @XPath(model = "code" , codePath = "/entry/observation/code[@code='DE04.01.007.00'][@codeSystem='2.16.156.10011.2.2.1']",
            path = "/value/@value",  xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE04_01_007_00))
    String daBianCS;

    
}
